import http from './request'
//获取数据
export const safetypromotionList = (data) => {
    return http({
        url: '/hongyun-training/safetypromotion/list',
        method: 'POST',
        data: data
    })
}
// 新增或修改
export const safetypromotionSubmit = (data) => {
    return http({
        url: '/hongyun-training/safetypromotion/submit',
        method: 'POST',
        data: data
    })
}
// 逻辑删除
export const safetypromotionRemove = (ids) => {
    return http({
        url: `/hongyun-training/safetypromotion/remove?ids=${ids}`,
        method: 'POST'
    })
}